/*
* @Author: Marte
* @Date:   2018-03-21 16:13:10
* @Last Modified by:   Marte
* @Last Modified time: 2018-03-22 17:14:59
*/

'use strict';
export const increment = state=>{
  state.count=state.count+5
}
export const decrement = state=>{
  state.count=state.count-3
}
export const autoPlay=state=>{
           state.currentIndex++;
            if (state.currentIndex > state.usertask.length - 1) {
                         state.currentIndex = 0
            }
}
